package com.jiangyao.model.dto.backend;

import com.jiangyao.model.dto.BaseDTO;
import com.jiangyao.model.dto.ListPageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "获取投递该职位的user列表")
public class JobUserDto extends ListPageDTO implements BaseDTO {

	@ApiModelProperty(value = "职位ID",required = true)
	@NotNull(message = "班级ID不能为空")
	private Integer jobId;

	@ApiModelProperty(value = "组织ID",required = true)
	@NotNull(message = "组织ID不能为空")
	private Integer orgId;

	@ApiModelProperty("模糊查询关键字")
	private String searchVal;
}
